package com.wangshang.orgmgm.po;

/**
 * AbstractWorkers entity provides the base persistence definition of the
 * Workers entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractWorkers implements java.io.Serializable {

	// Fields

	private Integer workId;
	private String name;
	private String department;
	private Integer salary;
	private String idCardNum;
	private String telNum;
	private String appointment;
	private String place;
	private String password;
	private Long placeid;
	private Integer hallId;
	private String depTel;
	private Short appointmentId;

	// Constructors

	/** default constructor */
	public AbstractWorkers() {
	}

	/** minimal constructor */
	public AbstractWorkers(Integer workId, String name, String department,
			Integer salary, String idCardNum, String appointment, String place,
			String password, Long placeid, Integer hallId) {
		this.workId = workId;
		this.name = name;
		this.department = department;
		this.salary = salary;
		this.idCardNum = idCardNum;
		this.appointment = appointment;
		this.place = place;
		this.password = password;
		this.placeid = placeid;
		this.hallId = hallId;
	}

	/** full constructor */
	public AbstractWorkers(Integer workId, String name, String department,
			Integer salary, String idCardNum, String telNum,
			String appointment, String place, String password, Long placeid,
			Integer hallId, String depTel, Short appointmentId) {
		this.workId = workId;
		this.name = name;
		this.department = department;
		this.salary = salary;
		this.idCardNum = idCardNum;
		this.telNum = telNum;
		this.appointment = appointment;
		this.place = place;
		this.password = password;
		this.placeid = placeid;
		this.hallId = hallId;
		this.depTel = depTel;
		this.appointmentId = appointmentId;
	}

	// Property accessors

	public Integer getWorkId() {
		return this.workId;
	}

	public void setWorkId(Integer workId) {
		this.workId = workId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public Integer getSalary() {
		return this.salary;
	}

	public void setSalary(Integer salary) {
		this.salary = salary;
	}

	public String getIdCardNum() {
		return this.idCardNum;
	}

	public void setIdCardNum(String idCardNum) {
		this.idCardNum = idCardNum;
	}

	public String getTelNum() {
		return this.telNum;
	}

	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}

	public String getAppointment() {
		return this.appointment;
	}

	public void setAppointment(String appointment) {
		this.appointment = appointment;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Long getPlaceid() {
		return this.placeid;
	}

	public void setPlaceid(Long placeid) {
		this.placeid = placeid;
	}

	public Integer getHallId() {
		return this.hallId;
	}

	public void setHallId(Integer hallId) {
		this.hallId = hallId;
	}

	public String getDepTel() {
		return this.depTel;
	}

	public void setDepTel(String depTel) {
		this.depTel = depTel;
	}

	public Short getAppointmentId() {
		return this.appointmentId;
	}

	public void setAppointmentId(Short appointmentId) {
		this.appointmentId = appointmentId;
	}

}